Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.4.0
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
org.omg.PortableServer.POAPackage.WrongPolicy

Packages that use WrongPolicy
org.omg.PortableServer | Provides classes and interfaces for making the server side of your applications portable across multivendor ORBs.

Uses of WrongPolicy in org.omg.PortableServer

Methods in org.omg.PortableServer that throw WrongPolicy
`ServantManager` | `POAOperations.get_servant_manager()` If the ServantRetentionPolicy of the POA is RETAIN, then the ServantManager argument (imgr) shall support the ServantActivator interface.
`void` | `POAOperations.set_servant_manager(ServantManager imgr)` This operation sets the default servant manager associated with the POA.
`Servant` | `POAOperations.get_servant()` This operation returns the default servant associated with the POA.
`void` | `POAOperations.set_servant(Servant p_servant)` This operation registers the specified servant with the POA as the default servant.
`byte[]` | `POAOperations.activate_object(Servant p_servant)` This operation generates an Object Id and enters the Object Id and the specified servant in the Active Object Map.
`void` | `POAOperations.activate_object_with_id(byte[] id, Servant p_servant)` This operation enters an association between the specified Object Id and the specified servant in the Active Object Map.
`void` | `POAOperations.deactivate_object(byte[] oid)` This operation causes the ObjectId specified in the oid parameter to be deactivated.
`Object` | `POAOperations.create_reference(String intf)` This operation creates an object reference that encapsulates a POA-generated Object Id value and the specified interface repository id.
`byte[]` | `POAOperations.servant_to_id(Servant p_servant)` This operation has four possible behaviors.
`Object` | `POAOperations.servant_to_reference(Servant p_servant)` This operation requires the RETAIN policy and either the UNIQUE_ID or IMPLICIT_ACTIVATION policies if invoked outside the context of an operation dispatched by this POA.
`Servant` | `POAOperations.reference_to_servant(Object reference)` If the POA has the RETAIN policy and the specified object is present in the Active Object Map, this operation returns the servant associated with that object in the Active Object Map.
`byte[]` | `POAOperations.reference_to_id(Object reference)` This operation returns the Object Id value encapsulated by the specified reference.
`Servant` | `POAOperations.id_to_servant(byte[] oid)` If the POA has the RETAIN policy and the specified ObjectId is in the Active Object Map, this operation returns the servant associated with that object in the Active Object Map.
`Object` | `POAOperations.id_to_reference(byte[] oid)` If an object with the specified Object Id value is currently active, a reference encapsulating the information used to activate the object is returned.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Std. Ed. v1.4.0
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.